<?php
/**
 * Notes:
 * User: wudg <544038230@qq.com>
 * Date: 2022/5/4 11:01
 */

namespace App\Constants\System;
use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;

/**
 * @Constants
 */
class HttpCode extends AbstractConstants
{

    /**
     * @Message("request success")
     */
    const OK = 200;


    /**
     * @Message("request error")
     */
    const BAD_REQUEST = 500;


    /**
     * @Message("Server Forbidden!")
     */
    const ERROR_SERVICE = 403;

    /**
     * @Message("Unprocessable Entity")
     */
    const UNPROCESSABLE_ENTITY = 422;


    /**
     * @Message("Unauthorized")
     */
    const UNAUTHORIZED = 401;
}